<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html>

<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">


    <title> - Bootstrap3 Markdown编辑器</title>
    <meta name="keywords" content="">
    <meta name="description" content="">

    <link rel="shortcut icon" href="favicon.ico">
    <link href="css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
    <link href="css/font-awesome.css?v=4.4.0" rel="stylesheet">
    <link href="css/animate.css" rel="stylesheet">
    <link rel="stylesheet" type="text/css" href="css/plugins/markdown/bootstrap-markdown.min.css"/>
    <link href="css/style.css?v=4.1.0" rel="stylesheet">

</head>

<body>
<div class="col-sm-6">
    <div class="ibox float-e-margins">
        <div class="ibox-title">
            <h5>个人信息</h5>
        </div>
        <div class="ibox-content">
            <form class="form-horizontal m-t" id="signupForm" action="" method="post">
                <c:if test="${user.rid==4}">
                    <div class="form-group">
                        <label class="col-sm-3 control-label">学号：</label>
                        <div class="col-sm-8">
                            <input id="lastname" name="sid" placeholder="${user.sid}" value="${user.sid}"class="form-control" type="text" class="valid" readonly="readonly">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label">姓名：</label>
                        <div class="col-sm-8">
                            <input id="headurl" name="sname" value="${user.sname}" type="text" readonly="readonly">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label">性别：</label>
                        <div class="col-sm-8">

                            <c:if test="${user.ssex=='男'}">
                                <input name="ssex" class="" type="radio" checked="checked" value="男">男
                            </c:if>
                            <c:if test="${user.ssex=='女'}">
                                <input name="ssex" class="" type="radio" checked="checked" value="女">女
                            </c:if>

                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label">电话：</label>
                        <div class="col-sm-8">
                            <input name="stel" placeholder="${user.stel}" type="text">
                        </div>
                    </div>


                    <div class="form-group">
                        <label class="col-sm-3 control-label">年龄：</label>
                        <div class="col-sm-8">
                            <input name="sage" placeholder="${user.sage}" class="form-control" type="text">

                        </div>
                    </div>

                    <div class="form-group">
                        <label class="col-sm-3 control-label">学院：</label>
                        <div class="col-sm-8">
                            <input id="text" name="colid" placeholder="${user.colid}" class="form-control"
                                   type="text" readonly="readonly">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label">年级：</label>
                        <div class="col-sm-8">
                            <input id="confirm_password" name="gid" placeholder="${user.gid}" class="form-control"
                                   type="text" readonly="readonly">

                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-sm-8 col-sm-offset-3">
                            <button class="btn btn-primary" onclick="history.go(-1)" type="button">返回</button>
                        </div>
                    </div>

                </c:if>

                <c:if test="${user.rid==3}">
                    <div class="form-group">
                        <label class="col-sm-3 control-label">名字：</label>
                        <div class="col-sm-8">
                            <input id="name" name="name" class="form-control" type="text" placeholder="${user.tname}"
                                   class="valid" readonly="readonly">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label">性别：</label>
                        <div class="col-sm-8">
                            <c:if test="${user.tsex=='男'}">
                                <input name="sex" class="" type="radio" value="男" checked>男
                            </c:if>
                            <c:if test="${user.tsex=='女'}">
                                <input name="sex" class="" type="radio" value="女" checked>女
                            </c:if>

                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label">年龄：</label>
                        <div class="col-sm-8">
                            <input id="age" name="age" class="form-control" placeholder="${user.tage}" min="0" max="150"
                                   type="number" readonly="readonly">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label">电话：</label>
                        <div class="col-sm-8">
                            <input id="tel" name="tel" class="form-control" type="tel" placeholder="${user.ttel}"
                                   readonly>
                            <span class="help-block m-b-none"><i class="fa fa-info-circle"></i> 这里写点提示的内容</span>
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-sm-8 col-sm-offset-3">
                            <button class="btn btn-primary" onclick="history.go(-1)" type="button">返回</button>
                        </div>
                    </div>
                </c:if>

                <c:if test="${user.rid==2}">
                    <div class="form-group">
                        <label class="col-sm-3 control-label">名字：</label>
                        <div class="col-sm-8">
                            <input id="juryname" name="juryname" class="form-control" type="text" aria-required="true"
                                   aria-invalid="false" class="valid" value="${user.juryname}" readonly="readonly">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label">性别：</label>
                        <div class="col-sm-8">
                            <c:if test="${user.jurysex=='男'}">
                                <input name="jurysex" type="radio" value="男" checked="checked">男
                            </c:if>
                            <c:if test="${user.jurysex=='女'}">
                                <input name="jurysex" type="radio" value="女" checked="checked">女
                            </c:if>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label">年龄：</label>
                        <div class="col-sm-8">
                            <input id="juryage" name="juryage" class="form-control" min="0" max="150" type="number"
                                   value="${user.juryage}" readonly="readonly">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label">电话：</label>
                        <div class="col-sm-8">
                            <input id="jurytel" name="jurytel" class="form-control" type="text" value="${user.jurytel}"
                                   readonly="readonly">
                        </div>
                    </div>
                    <label class="col-sm-3 control-label">角色：</label>
                    <div class="col-sm-8">
                        <input id="rid" name="rid" class="form-control" type="number" aria-required="true"
                               aria-invalid="false"
                               class="valid" value="${user.rid}" readonly="readonly">
                    </div>
                    <div class="form-group">
                        <div class="col-sm-8 col-sm-offset-3">
                            <button class="btn btn-primary" onclick="history.go(-1)" type="button">返回</button>
                        </div>
                    </div>

                </c:if>
            </form>

        </div>
    </div>
</div>

<!-- 全局js -->
<script src="js/jquery.min.js?v=2.1.4"></script>
<script src="js/bootstrap.min.js?v=3.3.6"></script>

<!-- 自定义js -->
<script src="js/content.js?v=1.0.0"></script>

<!-- simditor -->
<script type="text/javascript" src="js/plugins/markdown/markdown.js"></script>
<script type="text/javascript" src="js/plugins/markdown/to-markdown.js"></script>
<script type="text/javascript" src="js/plugins/markdown/bootstrap-markdown.js"></script>
<script type="text/javascript" src="js/plugins/markdown/bootstrap-markdown.zh.js"></script>


</body>

</html>

